package ruru.client.ui.widgets.sortableTable;

import com.google.gwt.user.client.ui.Label;

public class ComparableLabel extends Label implements Comparable {
	public ComparableLabel(String text) {
		super(text);
	}
	
	public int compareTo(Object arg0) {
		ComparableLabel c = (ComparableLabel) arg0;		
		return this.getText().compareTo(c.getText());
	}
}
